<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>bip</title>
  <script type="text/javascript" src="resource/thirdparty/jsonrpc.js"></script>
  <script type="text/javascript" src="script/bip.js"></script>
  <link rel="shortcut icon" type="image/x-icon" href="<%= request.getContextPath() %>/favicon.ico" /><!-- IE -->
  <link rel="icon" type="image/x-icon" href="<%= request.getContextPath() %>/favicon.ico" /><!-- Others -->
  <link href="<%= request.getContextPath() %>/style/stylesheet.css" type="text/css" rel="STYLESHEET" />
</head>
<body>
<%
    final String    username    = request.getRemoteUser();
    // Exemples
    // Utilisateur de base
    final boolean   isUserRoleIsUser   = com.googlecode.bip.util.RolesIdentifier.isUser( request );
    // Editeur de topics/questions
    final boolean   isUserRoleIsAuthor = com.googlecode.bip.util.RolesIdentifier.isAuthor( request );
%>
<script type="text/javascript">
    var USERNAME = "<%= username %>";
    // Exemple
    var isUserRoleIsUser = "<%= isUserRoleIsUser %>";
    var isUserRoleIsAuthor = "<%= isUserRoleIsAuthor %>";
</script>

<script type="text/javascript" src="resource/thirdparty/jsonrpc.js"></script>
<script type="text/javascript" src="script/bip.js"></script>

</body>
</html>
